# Accept the target directory path parameter
param-dir = $(dir)
$(info 1. $(param-dir))

# Remove the final / of the path
_target-path = $(filter %/, $(param-dir))
__target-path = $(if $(_target-path),$(patsubst %/,%,$(_target-path)),$(param-dir))
$(info 2. $(_target-path))
$(info 3. $(__target-path))

# Remove the Spaces before and after
target-path = $(strip $(__target-path))
$(info 4. $(target-path))

# Parsed file name
target-name = $(notdir $(target-path))
$(info 5. $(target-name))

build:
	@echo "make exectue"
